package atm;

public class User {
    private  String name;
    private  String word;
    private double balance;
    public User(){};

    public User(String userName, String passWord, double balance) {
        this.name = userName;
        this.word = passWord;
        this.balance = balance;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getWord() {
        return word;
    }

    public void setWord(String word) {
        this.word = word;
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }
}
